package demo1;

import demo2.Cell;

public class Statement {
    //声明音频常量
    public static final String SP_KEY = "music/按键音效.wav";
    public static final String SP_ELIMINATE = "music/消除音效.wav";
    public static final String SP_GAMEOVER = "music/游戏失败.wav";
    public static final String SP_GROUND = "music/背景音乐.wav";
    //声明正在下落的方块
    public static Tetromino currentOne = Tetromino.randomOne();
    //声明将要下落的方块
    public static Tetromino nextOne = Tetromino.randomOne();
    //声明游戏主区域
    public static Cell[][] wall = new Cell[18][9];
    //声明单元格的值为48像素
    public static final int CELL_SIZE = 48;

    //声明游戏分数池
    public static int[] scores_pool = {0,1,2,5,10};
    //声明当前获得游戏的分数
    public static int totalScore = 0;
    //当前已消除的行数
    public static int totalLine = 0;

    //声明游戏的三种状态，分别是：游戏中、暂停、游戏结束
    public static final int PLAYING = 0;
    public static final int PAUSE = 1;
    public static final int GAMEOVER = 2;
    //声明变量存放当前游戏状态的值
    public static int game_state;
    //声明一个数组，用来显示游戏状态
    public String[] show_state = {"P[暂停]","C[继续]","S[重新开始]"};

    public void close() {
    }
}
